package com.huike.clues.mapper;


import com.huike.clues.domain.vo.ClueTrackRecordVo;
import com.huike.clues.domain.vo.TrackRecordVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 线索跟进记录Mapper接口
 * @date 2021-04-19
 */
public interface TbClueTrackRecordMapper {


    void add(@Param("clueTrackRecordVo") ClueTrackRecordVo clueTrackRecordVo, @Param("name") String username);

    List<TrackRecordVo> list(Long clueId);

    void delete(Long id);

    void saveRecord(@Param("id") Long id, @Param("remark") String remark, @Param("reason") String reason , @Param("username") String username);

}
